package com.dhecp.project.logstics.mapper;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.business.domain.FbaLogsticsOrderSelect;
import com.dhecp.project.common.domain.UpdateFlow;
import com.dhecp.project.logstics.domain.FbaLogisticsReconcile;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 物流对账单(TP_FbaLogisticsReconcile)表数据库访问层
 *
 * @author fxz
 * @since 2022-10-29 23:27:30
 */
public interface FbaLogisticsReconcileMapper extends GenericDao<FbaLogisticsReconcile, String> {

       /**
    * 查询列表数据
    */
    List<FbaLogisticsReconcile> queryList(Map<String, Object> params);
    /**
     * 通过ID查询单条数据
     *
     * @param params 参数
     * @return 实例对象
     */
     FbaLogisticsReconcile selectFirstRecordByNid(Map<String, Object> params);


    /**
     * 查询单个实体
     * @author Jason
     */
    FbaLogisticsReconcile queryFirstByGuid(@Param("guid") String guid);

    /**
     *@Description: 修改流程状态及生效标志（仅需 guid、activeFlow、effectStock、updateTime）
     *@Param: [updateFlow]
     *@return: int
     *@Author: hlf
     *@date: 2022-05-09 10:13
     */
    int updateFlow(UpdateFlow updateFlow);

    /**
     * 批量查询列表数据
     */
    List<FbaLogisticsReconcile> queryListBatch(List<FbaLogisticsReconcile> fbaLogisticsReconcileList);


    List<FbaLogsticsOrderSelect> findFbaLogsticsOrderSelect(Map<String, Object> params);

    List<FbaLogsticsOrderSelect> findFbaLogsticsOrderSelectEc(Map<String, Object> params);
}

